import 'package:dio/dio.dart';

import '../util/http_util.dart';

class SiteApi {
  static Future<Response> getLocList(dynamic data) {
    return HttpUtil.getDio().post("/livestaff/live_loc/list", data: data);
  }

  static Future<Response> upOrDown(dynamic data) {
    return HttpUtil.getDio().post("/livestaff/live_loc/up_or_down", data: data);
  }

  static Future<Response> getLiveLoc(dynamic data) {
    return HttpUtil.getDio().post("/livestaff/live_loc/get", data: data);
  }


  static Future<Response> saveLiveLoc(dynamic data) {
    return HttpUtil.getDio().post("/livestaff/live_loc/save", data: data);
  }

}
